<!--
 * @Author: maqaing
 * @Date: 2021-09-16 14:07:42
 * @LastEditors: maqiang
 * @LastEditTime: 2021-09-23 14:28:59
 * @Description: 
-->
<template>
  <div>
    <!-- 头部引入 -->
    <Head></Head>
    <div class="wrapper">
      <div class="title">{{ArtData.title}}</div>
      <div v-html="ArtData.content">{{ ArtData }}</div>
    </div>
    <!-- {{ArtData}} -->
    <Footer></Footer>
  </div>
</template>

<script>
import Head from "./components/Head.vue";
import Footer from "./components/Foot.vue";

export default {
  // 声明head组件
  components: {
    Head,
    Footer
  },
  data() {
    return {
      // 定义容器接收list传来的item
      ArtData: {},
    };
  },
  methods: {},
  created() {
    this.ArtData = this.$route.query;
  },
};
</script>

<style lang="scss" scoped>
.wrapper{
  .title{
    font-size: 100px;
    text-align: center;
    color: red;
  }
}
</style>